package com.zh.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zh.domain.dto.task.AddTaskCommentRequest;
import com.zh.domain.dto.task.PageTaskCommentRequest;
import com.zh.domain.entity.TaskComments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zh.domain.vo.task.TaskCommentVo;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【task_comments(任务评论表)】的数据库操作Service
 * @createDate 2025-02-09 16:24:10
 */
public interface TaskCommentsService extends IService<TaskComments> {

    Boolean addTaskComment(AddTaskCommentRequest addTaskCommentRequest);

    void sendMessageWhenAdd(Integer sendId, TaskComments newTaskComment, List<Integer> revciverList);


    Page<TaskCommentVo> pageTaskComment(PageTaskCommentRequest pageTaskCommentRequest);
}
